body,
html {
    width: 100%;
    overflow: hidden;
}

#app,
body,
html {
    height: 100%;
    padding-right: 0 !important;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol", "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial,
        sans-serif;
    outline: none;
}

li {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.d-flex {
    display: flex;
}


.d-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.d-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.d-around {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.d-start {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.d-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/*滚动条凹槽的颜色，还可以设置边框属性 */
::-webkit-scrollbar-track-piece {
    background-color: #f8f8f8;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}

/*滚动条的宽度*/
::-webkit-scrollbar {
    width: 4px;
    height: 7px;
}

/*滚动条的设置*/
::-webkit-scrollbar-thumb {
    background-color: #ccc;
    background-clip: padding-box;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}

/*滚动条鼠标移上去*/
::-webkit-scrollbar-thumb:hover {
    background-color: #bbb;
}

.el-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0 !important;
    transform: translate(-50%, -50%);
    max-height: calc(100% - 30px);
    max-width: calc(100% - 30px);
    display: flex;
    flex-direction: column;
}

.el-dialog__body {
    overflow: auto;
}

.line {
    width: 2px;
    height: calc(100% - 35px) !important;
    position: absolute;
    background: #ccc;
    bottom: 0;
    left: 18px !important;
}

.el-menu--collapse {
    overflow: hidden !important;
}

.activeHome {
    color: #409eff;
}

.el-menu-vertical-demo {
    font-size: 14px;
    min-height: 100%;
    flex-shrink: 0;
    z-index: 100;
}

/*transition: .3s all !important;*/




.query_list-enter-active,
.query_list-leave-active {
    transition: all .5s ease;
}


.query_list-leave-to {
    opacity: 0;
    transform: translateX(-10%);
}

.query_list-enter {
    transform: translateX(10%);

}

.delpop-enter-active,
.delpop-leave-active {
    transition: all .5s ease-in-out;
}


.delpop-enter,
.delpop-leave-to {
    transform: translateX(100%);
    opacity: 0;
}

.home_list-enter-active,
.home_list-leave-active {
    transition: all .5s ease-in-out;
}


.home_list-enter,
.home_list-leave-to {
    transform: translateX(-100%);
    opacity: 0;
}

.el-upload,
.el-upload--picture-card {
    width: 100px !important;
    height: 100px !important;
    line-height: 100px !important;
}

.el-upload-list--picture-card,
.el-upload-list__item {
    width: 100px !important;
    height: 100px !important;
}


.el-divider--horizontal {
    margin: 10px 0 !important;
}

.trees {
    .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
        background: none;
    }

    .el-tree-node__content>.el-tree-node__expand-icon {
        border: 0;
    }

    .el-tree-node__content {
        height: 40px;
        border-bottom: 1px solid #eef4f5;
    }

    height: auto;
    padding: 0;
}

.el-tree {
    border-top: 1px solid rgba(232, 237, 238, 1);
}

.el-tree-node__content {
    height: 50px;
    border-bottom: 1px solid rgba(232, 237, 238, 1);
}

.el-tree-node__content>.el-tree-node__expand-icon {
    border: 1px #ddd solid;
    border-radius: 50%;
    margin-left: 5px;
    margin-right: 10px;
    padding: 4px;
}

.el-tree-node__expand-icon.is-leaf {
    border: 0;
}

.el-select-dropdown__list {
    padding: 0;
}

.icon-header {
    position: absolute;
    top: 13px;
    right: 10px;
    cursor: pointer;

    .user-name {
        margin-left: 10px;
    }
}

.el-menu {
    border: 0 !important;
    transition: all 0s ease;
}

.submenu {
    width: 250px;
    height: 50px;
    background: #242f42;
    color: rgb(191, 203, 217);
    cursor: pointer;

    &:hover {
        background: rgb(29, 38, 53);
    }
}

// .el-menu-item {
//     transition: 0s !important;
// }

.el-menu-vertical-demo:not(.el-menu--collapse) {
    width: 250px;
    min-height: 100%;
}

.el-menu--collapse.el-menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 64px;
    // width: 50px;
    // :before{

    // }
    position: absolute;
    right: 0;
    top: 64px;
}

.el-submenu__title {
    display: flex;
    // justify-content: center;
    align-items: center;
    margin: 0 14px !important;
    padding: 10px 20px !important;
    height: 45px !important;
    border-radius: 5px;
    // .el-icon-edit-outline {
    //     color: #ffffff;

    // }

    .el-submenu__icon-arrow {
        color: white !important;
    }
}

.el-submenu.is-active .el-submenu__title {
    flex-shrink: 0;
    margin: 0 14px;
    background-color: #409EFF !important;
    height: 45px;
    border-radius: 5px;

    span {
        color: #FFFFFF;
    }

    i:before {
        color: #ffffff;

    }
}

.el-submenu.is-active .el-submenu__title:not(.el-menu--collapse) {
    margin: 0;
}


.select-gray {
    background-color: #F5F7FA;
    color: #909399;
    vertical-align: middle;
    display: table-cell;
    position: relative;
    border: 1px solid #DCDFE6;
    border-right: 0px solid black;
    border-radius: 4px 0 0 4px;
    // border-radius: 4px;
    padding: 0 20px;
    white-space: nowrap;
    width: 83px;
    height: 36px;
    line-height: 36px;
    font-size: 14px;
}

.select-gray+.el-select.el-select--medium {
    .el-input__inner {
        border-radius: 0 4px 4px 0;
    }
}

.nofile {
    width: 100%;
    height: 36px;
    color: #ccc;
    background: #F5F7FA;
    border: 1px dashed #ccc;
    line-height: 36px;
    padding: 0 20px;
    border-radius: 4px;
    font-size: 14px;
    font-family: "Microsoft YaHei";
}

.readonly {
    .el-input.is-disabled .el-input__inner {
        border: none;
        cursor: default;
        background: #F5F7FA;
    }

    .el-input.is-disabled .el-input__icon {
        cursor: default;
    }

    .el-textarea.is-disabled .el-textarea__inner {
        cursor: default;
        border: none;
        cursor: default;
        background: #F5F7FA;
    }

    .el-select .el-input.is-disabled .el-input__inner {
        cursor: default;
        border: none;
        cursor: default;
        background: #F5F7FA;
    }

    .readonly .el-textarea.is-disabled .el-textarea__inner {
        cursor: default;
        // border: none;
        cursor: default;
        background: #F5F7FA;
    }
}

.main {
    .el-loading-mask {
        z-index: 10 !important;
    }
}

section {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.5em;
    }
}

